public class Outer {
    private int a=10;
    class Inner{
        int a=20;
        //Inner隐含Outer this记录外部类对象
        public void show()
        {
            int a=30;
            //内部类获取外部类成员变量方法
            System.out.println(a);
            System.out.println(this.a);
            System.out.println(Outer.this.a);
        }
    }
}
